package com.bbcare.switchData.entity.model;


import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


// 默认为逻辑删除


public class FuInformruleDict extends BaseEntityForBB<FuInformruleDict> {

	private String queueId; // 队列id
	private String deptId; // 科室id
	private String tenantId; // 租户id
	private java.math.BigDecimal cycleTime; // 多长时间重复一次，单位：小时(后台自动发送规则)
	private Integer limitNum; // 一个任务总限制发送次数，默认-1不限制
	private String informType; // 随访提醒方式, 1:app提醒 2:短信提醒 3:邮件提醒 4:微信提醒
	private String smsTemplid; // 短信模板id，对应bs_sms_template.id
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date createTime; // 创建时间
	private String createAuthor; // 创建人
	private String beginTime; // 允许发送短信的开始时间点
	private String endTime; // 允许发送短信的结束时间点
	private java.math.BigDecimal outcycleTime; // 多长时间重复一次，单位：小时(门诊医生发送规则)
	private String ruleType; // 通知规则，0窗口期提醒；1年龄段提醒；2 根据随访日期
	private Integer ageBeginDay; // 年龄开始天
	private Integer ageEndDay; // 年龄结束天
	private Integer ageTaskDay; // 当天往前推多少天内完成了随访任务，则不发提醒
	private Integer beforeDay; // 
	private String scheduleFlag; // 00:是否需要安排随访时间
	private Character status; //状态 0无效 1有效
	private Integer hour;

	public String getQueueId() {
		return queueId;
	}
	
	public void setQueueId(String queueId) {
		this.queueId = queueId;
	}
	
	public String getDeptId() {
		return deptId;
	}
	
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	
	public String getTenantId() {
		return tenantId;
	}
	
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	
	public java.math.BigDecimal getCycleTime() {
		return cycleTime;
	}
	
	public void setCycleTime(java.math.BigDecimal cycleTime) {
		this.cycleTime = cycleTime;
	}
	
	public Integer getLimitNum() {
		return limitNum;
	}
	
	public void setLimitNum(Integer limitNum) {
		this.limitNum = limitNum;
	}
	
	public String getInformType() {
		return informType;
	}
	
	public void setInformType(String informType) {
		this.informType = informType;
	}
	
	public String getSmsTemplid() {
		return smsTemplid;
	}
	
	public void setSmsTemplid(String smsTemplid) {
		this.smsTemplid = smsTemplid;
	}
	
	public java.util.Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateAuthor() {
		return createAuthor;
	}
	
	public void setCreateAuthor(String createAuthor) {
		this.createAuthor = createAuthor;
	}
	
	public String getBeginTime() {
		return beginTime;
	}
	
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	
	public String getEndTime() {
		return endTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	public java.math.BigDecimal getOutcycleTime() {
		return outcycleTime;
	}
	
	public void setOutcycleTime(java.math.BigDecimal outcycleTime) {
		this.outcycleTime = outcycleTime;
	}
	
	public String getRuleType() {
		return ruleType;
	}
	
	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	
	public Integer getAgeBeginDay() {
		return ageBeginDay;
	}
	
	public void setAgeBeginDay(Integer ageBeginDay) {
		this.ageBeginDay = ageBeginDay;
	}
	
	public Integer getAgeEndDay() {
		return ageEndDay;
	}
	
	public void setAgeEndDay(Integer ageEndDay) {
		this.ageEndDay = ageEndDay;
	}
	
	public Integer getAgeTaskDay() {
		return ageTaskDay;
	}
	
	public void setAgeTaskDay(Integer ageTaskDay) {
		this.ageTaskDay = ageTaskDay;
	}
	
	public Integer getBeforeDay() {
		return beforeDay;
	}
	
	public void setBeforeDay(Integer beforeDay) {
		this.beforeDay = beforeDay;
	}
	
	public String getScheduleFlag() {
		return scheduleFlag;
	}
	
	public void setScheduleFlag(String scheduleFlag) {
		this.scheduleFlag = scheduleFlag;
	}

	public Character getStatus() {
		return status;
	}

	public void setStatus(Character status) {
		this.status = status;
	}

	public Integer getHour() {
		return hour;
	}

	public void setHour(Integer hour) {
		this.hour = hour;
	}
}
